from PIL import ImageColor
from PIL import Image
print (ImageColor.getcolor('red','RGBA'))
print (ImageColor.getcolor('black','RGB'))

im_path = r'C:\Penguins.jpg'
im = Image.open(im_path)
width,height = im.size
print(im.size,width,height)
print(im.format,im.format_description,im.mode)
im.show()
